﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SiteMaster/Site.Master" AutoEventWireup="true" CodeBehind="ConsultarCasoUso.aspx.cs" Inherits="Sistema_Totem.Vista.CU.buscarCasoUso" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
Consultar CU
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<link href="/Styles/CasodeUso.css" rel="stylesheet" type="text/css" />
<link href="/Styles/accordion.css" rel="stylesheet" type="text/css" />
    
   <br />

        <strong>Casos de Uso del Proyecto:</strong>

        <div class="PanelBusqueda">

            <asp:TextBox ID="Buscar" CssClass="Busqueda" runat="server" MaxLength="20"> </asp:TextBox>

            <asp:Button ID="Button2" CssClass="boton" runat="server" Text="Buscar" />

            <asp:RadioButtonList CssClass="Filtros" ID="RadioButtonList1" runat="server"  RepeatDirection="Horizontal">
                <asp:ListItem Value="1">Por Nombre</asp:ListItem>
                <asp:ListItem Value="2">Por Requerimiento </asp:ListItem>
            </asp:RadioButtonList>
    
    </div>

  
    <asp:GridView ID="GridViewCasoUso"  CssClass="Gridview" runat="server" CellPadding="4" ForeColor="#333333" AutoGenerateColumns="False"
     GridLines="None"  HorizontalAlign="Center" AllowPaging="True" PageSize="10" OnPageIndexChanging="GridViewCasoUso_PageIndexChanging" 
     OnRowCommand="GridViewConsultarCaso_RowCommand">

                        <HeaderStyle CssClass="accordionHeader"  ForeColor="White" />
                        <FooterStyle BackColor="#AA2828"  ForeColor="White" />
                        <PagerStyle BackColor="#AA2828" ForeColor="White" HorizontalAlign="Center" />
                        
                        <Columns>
                            <asp:BoundField DataField="id" HeaderText="ID" ShowHeader="false"  /> 
                            <asp:BoundField DataField="Codigo" HeaderText="Codigo"/> 
                            <asp:BoundField DataField="Nombre" HeaderText="Nombre"/> 
                            <asp:BoundField DataField="Requerimiento" HeaderText="Requerimiento"/> 
                           <asp:TemplateField ShowHeader="True" HeaderText="Ver Detalles">
                            <ItemTemplate>
                                <asp:ImageButton ID="ConsultarCU" runat="server" CommandName="VerDetalles" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>"
                                    ImageUrl="~/Styles/Images/Search.png" AlternateText="Modificar" />
                            </ItemTemplate>
                           </asp:TemplateField>
                        </Columns>
                    </asp:GridView>
          
</asp:Content>
